<%@page contentType="text/html;charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!-- Top bar -->
<div class="top-bar">
    <div class="container">
        <p>欢迎来到本网站</p>
        <div class="right-sec">
            <ul>
                <li>
                    <c:if test="${member == null}">
                        <a href="${pageContext.request.contextPath }/memberIndex?method=doLogin">登录</a>
                    </c:if>
                    <c:if test="${member != null}">
                        欢迎${member.name }&nbsp;&nbsp;&nbsp;&nbsp;
                        <a href="${pageContext.request.contextPath }/memberIndex?method=logout">注销</a>
                    </c:if>
                </li>
                <li><a href="${pageContext.request.contextPath }/memberIndex?method=doRegister">注册</a></li>
                <li>
                    <c:if test="${member != null}">
                        <a href="${pageContext.request.contextPath }/memberCenter">个人中心</a>
                    </c:if>
                </li>
                <li><a href="/sellerLogin">联系我们</a></li>
            </ul>
        </div>
    </div>
</div>
</div>
<!-- Header -->
<header>
    <div class="container">
        <div class="logo"><a href="/memberIndex"><img src="assets/img_new/logo.png"></a></div>
        <form class="search-cate" action="${pageContext.request.contextPath }/memberIndex?method=search" method="post">
            <input type="search" placeholder="请在此处输入您想要观看的电影名称" name="movieName">
            <button class="submit" type="submit"><i class="icon-magnifier"></i></button>
        </form>
    </div>
    <br>
</header>